package dao;

import entity.User;

import java.sql.SQLException;
import java.util.List;

public interface ChangeDao {
    int show(String password,int user_id) throws SQLException, ClassNotFoundException;
    List <User>show1(String role) throws SQLException, ClassNotFoundException;
    List <User>show2(String username,String newRole1) throws SQLException, ClassNotFoundException;
    List<User> getAllUsers() throws SQLException, ClassNotFoundException;
    int show3(String role,int user_id) throws SQLException, ClassNotFoundException;
     int getTotalCount(String username, String role) throws SQLException, ClassNotFoundException;
     List<User> getUsersByPage(String username, String role, int page, int pageSize) throws SQLException, ClassNotFoundException;
}
